<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <div data-th-replace="layout/head-top"></div>
</head>
<body>
    <div class="text-center m-l-lg m-t-lg m-r-lg m-b-lg">
        <input type="hidden" th:value="${courseId}" id="courseId">
        <input type="hidden" th:value="${type}" id="type">
        <img src="" style="width: 180px;height: 180px;" id="QRCode">
        <section class="m-t">
            <button type="button" class="btn btn-outline btn-primary" id="updateQrCode" >下载二维码</button>
        </section>
        <section class="m-t">
            <div class="input-group">
                <input type="text" value="" id="shareUrl" class="form-control" readonly>
                <span class="input-group-btn">
                    <button type="button" class="btn btn-primary copyUrl" id="copyUrl">复制</button>
                </span>
            </div>
        </section>
    </div>
    <div id="shareQrCode"></div>
    <div class="copyLink hide"></div>
    <div data-th-replace="layout/head-footer"></div>

<script th:src="@{{path}/admin/business/common/clipboard/clipboard.min.js?v={v}(path=${staticPath},v=${v})}"></script>
<script type="text/javascript" th:src="@{{path}/common/qrcode/jquery.qrcode.min.js?v={v}(path=${staticPath}, v=${v})}"></script>
<script th:src="@{{path}/admin/business/course/cou/share-course-alert.js?v={v}(path=${staticPath},v=${v})}"></script>
</body>
</html>